package acheng1314.cn.a3dbuild2.bean;

import java.io.Serializable;

/**
 * Created by Administrator on 2016/10/5 0005.
 */

public class LoginBean implements Serializable {


    /**
     * code : 0
     * msg : 登录成功
     * result : {"userId":"2","token":"e01453fece60093a4406acc866feabe3"}
     */

    private int code;
    private String msg;
    /**
     * userId : 2
     * token : e01453fece60093a4406acc866feabe3
     */

    private ResultBean result;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public static class ResultBean {
        private String userId;
        private String token;

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }
    }
}
